﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class Block
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class Block
   ">
    <meta name="generator" content="docfx 2.56.4.0">
    
    <link rel="shortcut icon" href="../favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="netDxf.Blocks.Block">
  
  
  <h1 id="netDxf_Blocks_Block" data-uid="netDxf.Blocks.Block" class="text-break">Class Block
  </h1>
  <div class="markdown level0 summary"><p>Represents a block definition.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><a class="xref" href="netDxf.DxfObject.html">DxfObject</a></div>
    <div class="level2"><a class="xref" href="netDxf.Tables.TableObject.html">TableObject</a></div>
    <div class="level3"><span class="xref">Block</span></div>
  </div>
  <div classs="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="netDxf.IHasXData.html">IHasXData</a></div>
    <div><span class="xref">System.ICloneable</span></div>
    <div><span class="xref">System.IComparable</span></div>
    <div><span class="xref">System.IComparable</span>&lt;<a class="xref" href="netDxf.Tables.TableObject.html">TableObject</a>&gt;</div>
    <div><span class="xref">System.IEquatable</span>&lt;<a class="xref" href="netDxf.Tables.TableObject.html">TableObject</a>&gt;</div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_NameChanged">TableObject.NameChanged</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_OnNameChangedEvent_System_String_System_String_">TableObject.OnNameChangedEvent(String, String)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_XDataAddAppReg">TableObject.XDataAddAppReg</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_OnXDataAddAppRegEvent_netDxf_Tables_ApplicationRegistry_">TableObject.OnXDataAddAppRegEvent(ApplicationRegistry)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_XDataRemoveAppReg">TableObject.XDataRemoveAppReg</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_OnXDataRemoveAppRegEvent_netDxf_Tables_ApplicationRegistry_">TableObject.OnXDataRemoveAppRegEvent(ApplicationRegistry)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_IsReserved">TableObject.IsReserved</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_InvalidCharacters">TableObject.InvalidCharacters</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_XData">TableObject.XData</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_IsValidName_System_String_">TableObject.IsValidName(String)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_ToString">TableObject.ToString()</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_CompareTo_System_Object_">TableObject.CompareTo(Object)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_CompareTo_netDxf_Tables_TableObject_">TableObject.CompareTo(TableObject)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_GetHashCode">TableObject.GetHashCode()</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_Equals_System_Object_">TableObject.Equals(Object)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_Equals_netDxf_Tables_TableObject_">TableObject.Equals(TableObject)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.DxfObject.html#netDxf_DxfObject_CodeName">DxfObject.CodeName</a>
    </div>
    <div>
      <a class="xref" href="netDxf.DxfObject.html#netDxf_DxfObject_Handle">DxfObject.Handle</a>
    </div>
    <div>
      <a class="xref" href="netDxf.DxfObject.html#netDxf_DxfObject_Owner">DxfObject.Owner</a>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="netDxf.Blocks.html">netDxf.Blocks</a></h6>
  <h6><strong>Assembly</strong>: CADability.dll</h6>
  <h5 id="netDxf_Blocks_Block_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Block : TableObject, IHasXData, ICloneable, IComparable, IComparable&lt;TableObject&gt;, IEquatable&lt;TableObject&gt;</code></pre>
  </div>
  <h5 id="netDxf_Blocks_Block_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Avoid to add any kind of dimensions to the block's entities list, programs loading DXF files with them seems to behave in a weird fashion.
This is not applicable when working in the Model and Paper space blocks.</p>
</div>
  <h3 id="constructors">Constructors
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block__ctor_System_String_.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.%23ctor(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L199">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block__ctor_" data-uid="netDxf.Blocks.Block.#ctor*"></a>
  <h4 id="netDxf_Blocks_Block__ctor_System_String_" data-uid="netDxf.Blocks.Block.#ctor(System.String)">Block(String)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>Block</code> class.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Block(string name)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td><p>Block name.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block__ctor_System_String_System_Collections_Generic_IEnumerable_netDxf_Entities_EntityObject__.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.%23ctor(System.String%2CSystem.Collections.Generic.IEnumerable%7BnetDxf.Entities.EntityObject%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L209">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block__ctor_" data-uid="netDxf.Blocks.Block.#ctor*"></a>
  <h4 id="netDxf_Blocks_Block__ctor_System_String_System_Collections_Generic_IEnumerable_netDxf_Entities_EntityObject__" data-uid="netDxf.Blocks.Block.#ctor(System.String,System.Collections.Generic.IEnumerable{netDxf.Entities.EntityObject})">Block(String, IEnumerable&lt;EntityObject&gt;)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>Block</code> class.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Block(string name, IEnumerable&lt;EntityObject&gt; entities)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td><p>Block name.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a>&gt;</td>
        <td><span class="parametername">entities</span></td>
        <td><p>The list of entities that make the block.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block__ctor_System_String_System_Collections_Generic_IEnumerable_netDxf_Entities_EntityObject__System_Collections_Generic_IEnumerable_netDxf_Entities_AttributeDefinition__.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.%23ctor(System.String%2CSystem.Collections.Generic.IEnumerable%7BnetDxf.Entities.EntityObject%7D%2CSystem.Collections.Generic.IEnumerable%7BnetDxf.Entities.AttributeDefinition%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L220">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block__ctor_" data-uid="netDxf.Blocks.Block.#ctor*"></a>
  <h4 id="netDxf_Blocks_Block__ctor_System_String_System_Collections_Generic_IEnumerable_netDxf_Entities_EntityObject__System_Collections_Generic_IEnumerable_netDxf_Entities_AttributeDefinition__" data-uid="netDxf.Blocks.Block.#ctor(System.String,System.Collections.Generic.IEnumerable{netDxf.Entities.EntityObject},System.Collections.Generic.IEnumerable{netDxf.Entities.AttributeDefinition})">Block(String, IEnumerable&lt;EntityObject&gt;, IEnumerable&lt;AttributeDefinition&gt;)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>Block</code> class.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Block(string name, IEnumerable&lt;EntityObject&gt; entities, IEnumerable&lt;AttributeDefinition&gt; attributes)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td><p>Block name.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a>&gt;</td>
        <td><span class="parametername">entities</span></td>
        <td><p>The list of entities that make the block.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="netDxf.Entities.AttributeDefinition.html">AttributeDefinition</a>&gt;</td>
        <td><span class="parametername">attributes</span></td>
        <td><p>The list of attribute definitions that make the block.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block__ctor_System_String_System_String_.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.%23ctor(System.String%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L167">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block__ctor_" data-uid="netDxf.Blocks.Block.#ctor*"></a>
  <h4 id="netDxf_Blocks_Block__ctor_System_String_System_String_" data-uid="netDxf.Blocks.Block.#ctor(System.String,System.String)">Block(String, String)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>Block</code> class as an external reference drawing.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Block(string name, string xrefFile)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td><p>Block name.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">xrefFile</span></td>
        <td><p>External reference path name.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Blocks_Block__ctor_System_String_System_String__remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Only DWG files can be used as externally referenced blocks.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block__ctor_System_String_System_String_System_Boolean_.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.%23ctor(System.String%2CSystem.String%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L179">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block__ctor_" data-uid="netDxf.Blocks.Block.#ctor*"></a>
  <h4 id="netDxf_Blocks_Block__ctor_System_String_System_String_System_Boolean_" data-uid="netDxf.Blocks.Block.#ctor(System.String,System.String,System.Boolean)">Block(String, String, Boolean)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>Block</code> class as an external reference drawing.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Block(string name, string xrefFile, bool overlay)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td><p>Block name.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">xrefFile</span></td>
        <td><p>External reference path name.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">overlay</span></td>
        <td><p>Specifies if the external reference is an overlay, by default it is set to false.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Blocks_Block__ctor_System_String_System_String_System_Boolean__remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Only DWG files can be used as externally referenced blocks.</p>
</div>
  <h3 id="fields">Fields
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_DefaultModelSpaceName.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.DefaultModelSpaceName%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L134">View Source</a>
  </span>
  <h4 id="netDxf_Blocks_Block_DefaultModelSpaceName" data-uid="netDxf.Blocks.Block.DefaultModelSpaceName">DefaultModelSpaceName</h4>
  <div class="markdown level1 summary"><p>Default ModelSpace block name.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public const string DefaultModelSpaceName = &quot;*Model_Space&quot;</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_DefaultPaperSpaceName.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.DefaultPaperSpaceName%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L139">View Source</a>
  </span>
  <h4 id="netDxf_Blocks_Block_DefaultPaperSpaceName" data-uid="netDxf.Blocks.Block.DefaultPaperSpaceName">DefaultPaperSpaceName</h4>
  <div class="markdown level1 summary"><p>Default PaperSpace block name.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public const string DefaultPaperSpaceName = &quot;*Paper_Space&quot;</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_AttributeDefinitions.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.AttributeDefinitions%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L342">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_AttributeDefinitions_" data-uid="netDxf.Blocks.Block.AttributeDefinitions*"></a>
  <h4 id="netDxf_Blocks_Block_AttributeDefinitions" data-uid="netDxf.Blocks.Block.AttributeDefinitions">AttributeDefinitions</h4>
  <div class="markdown level1 summary"><p>Gets the <a class="xref" href="netDxf.Entities.AttributeDefinition.html">AttributeDefinition</a> list of the block.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public AttributeDefinitionDictionary AttributeDefinitions { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Collections.AttributeDefinitionDictionary.html">AttributeDefinitionDictionary</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Blocks_Block_AttributeDefinitions_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Null or attribute definitions already owned by another block or document cannot be added to the list.
Additionally Paper Space blocks do not contain attribute definitions.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_Description.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.Description%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L294">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_Description_" data-uid="netDxf.Blocks.Block.Description*"></a>
  <h4 id="netDxf_Blocks_Block_Description" data-uid="netDxf.Blocks.Block.Description">Description</h4>
  <div class="markdown level1 summary"><p>Gets or sets the block description.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string Description { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Blocks_Block_Description_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>AutoCAD has an unknown limit on the number of characters for the description when loading an external DXF,
while, on the other hand is perfectly capable of saving a Block description that surpasses such limit.<br>
Keep in mind that when saving a DXF prior to the AutoCad2007 version, non-ASCII characters will be encoded,
therefore a single letter might consume more characters when saved into the DXF.<br>
New line characters are not allowed.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_Entities.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.Entities%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L330">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_Entities_" data-uid="netDxf.Blocks.Block.Entities*"></a>
  <h4 id="netDxf_Blocks_Block_Entities" data-uid="netDxf.Blocks.Block.Entities">Entities</h4>
  <div class="markdown level1 summary"><p>Gets the <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> list of the block.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public EntityCollection Entities { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Collections.EntityCollection.html">EntityCollection</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Blocks_Block_Entities_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Null entities, attribute definitions or entities already owned by another block or document cannot be added to the list.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_Flags.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.Flags%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L359">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_Flags_" data-uid="netDxf.Blocks.Block.Flags*"></a>
  <h4 id="netDxf_Blocks_Block_Flags" data-uid="netDxf.Blocks.Block.Flags">Flags</h4>
  <div class="markdown level1 summary"><p>Gets the block-type flags (bit-coded values, may be combined).</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public BlockTypeFlags Flags { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Blocks.BlockTypeFlags.html">BlockTypeFlags</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_IsForInternalUseOnly.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.IsForInternalUseOnly%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L387">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_IsForInternalUseOnly_" data-uid="netDxf.Blocks.Block.IsForInternalUseOnly*"></a>
  <h4 id="netDxf_Blocks_Block_IsForInternalUseOnly" data-uid="netDxf.Blocks.Block.IsForInternalUseOnly">IsForInternalUseOnly</h4>
  <div class="markdown level1 summary"><p>All blocks that starts with &quot;*&quot; are for internal use only.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool IsForInternalUseOnly { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_IsXRef.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.IsXRef%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L379">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_IsXRef_" data-uid="netDxf.Blocks.Block.IsXRef*"></a>
  <h4 id="netDxf_Blocks_Block_IsXRef" data-uid="netDxf.Blocks.Block.IsXRef">IsXRef</h4>
  <div class="markdown level1 summary"><p>Gets if the block is an external reference.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool IsXRef { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_Layer.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.Layer%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L313">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_Layer_" data-uid="netDxf.Blocks.Block.Layer*"></a>
  <h4 id="netDxf_Blocks_Block_Layer" data-uid="netDxf.Blocks.Block.Layer">Layer</h4>
  <div class="markdown level1 summary"><p>Gets or sets the block <a class="xref" href="netDxf.Blocks.Block.html#netDxf_Blocks_Block_Layer">Layer</a>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Layer Layer { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Tables.Layer.html">Layer</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Blocks_Block_Layer_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>It seems that the block layer is always the default &quot;0&quot; regardless of what is defined here, so it is pointless to change this value.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_ModelSpace.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.ModelSpace%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L144">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_ModelSpace_" data-uid="netDxf.Blocks.Block.ModelSpace*"></a>
  <h4 id="netDxf_Blocks_Block_ModelSpace" data-uid="netDxf.Blocks.Block.ModelSpace">ModelSpace</h4>
  <div class="markdown level1 summary"><p>Gets the default *Model_Space block.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Block ModelSpace { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Blocks.Block.html">Block</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_Name.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.Name%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L270">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_Name_" data-uid="netDxf.Blocks.Block.Name*"></a>
  <h4 id="netDxf_Blocks_Block_Name" data-uid="netDxf.Blocks.Block.Name">Name</h4>
  <div class="markdown level1 summary"><p>Gets the name of the table object.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string Name { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Blocks_Block_Name_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Table object names are case insensitive.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_Origin.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.Origin%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L303">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_Origin_" data-uid="netDxf.Blocks.Block.Origin*"></a>
  <h4 id="netDxf_Blocks_Block_Origin" data-uid="netDxf.Blocks.Block.Origin">Origin</h4>
  <div class="markdown level1 summary"><p>Gets or sets the block origin in world coordinates, it is recommended to always keep this value to the default Vector3.Zero.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Vector3 Origin { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Vector3.html">Vector3</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_PaperSpace.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.PaperSpace%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L152">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_PaperSpace_" data-uid="netDxf.Blocks.Block.PaperSpace*"></a>
  <h4 id="netDxf_Blocks_Block_PaperSpace" data-uid="netDxf.Blocks.Block.PaperSpace">PaperSpace</h4>
  <div class="markdown level1 summary"><p>Gets the default *Paper_Space block.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Block PaperSpace { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Blocks.Block.html">Block</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_Record.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.Record%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L351">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_Record_" data-uid="netDxf.Blocks.Block.Record*"></a>
  <h4 id="netDxf_Blocks_Block_Record" data-uid="netDxf.Blocks.Block.Record">Record</h4>
  <div class="markdown level1 summary"><p>Gets the block record associated with this block.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public BlockRecord Record { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Blocks.BlockRecord.html">BlockRecord</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Blocks_Block_Record_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>It returns the same object as the owner property.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_XrefFile.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.XrefFile%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L371">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_XrefFile_" data-uid="netDxf.Blocks.Block.XrefFile*"></a>
  <h4 id="netDxf_Blocks_Block_XrefFile" data-uid="netDxf.Blocks.Block.XrefFile">XrefFile</h4>
  <div class="markdown level1 summary"><p>Gets the external reference path name.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string XrefFile { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Blocks_Block_XrefFile_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>This property is only applicable to externally referenced blocks.</p>
</div>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_Clone.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.Clone%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L633">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_Clone_" data-uid="netDxf.Blocks.Block.Clone*"></a>
  <h4 id="netDxf_Blocks_Block_Clone" data-uid="netDxf.Blocks.Block.Clone">Clone()</h4>
  <div class="markdown level1 summary"><p>Creates a new Block that is a copy of the current instance.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public override object Clone()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Object</span></td>
        <td><p>A new Block that is a copy of this instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="overrides">Overrides</h5>
  <div><a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_Clone">TableObject.Clone()</a></div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_Clone_System_String_.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.Clone(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L624">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_Clone_" data-uid="netDxf.Blocks.Block.Clone*"></a>
  <h4 id="netDxf_Blocks_Block_Clone_System_String_" data-uid="netDxf.Blocks.Block.Clone(System.String)">Clone(String)</h4>
  <div class="markdown level1 summary"><p>Creates a new Block that is a copy of the current instance.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public override TableObject Clone(string newName)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">newName</span></td>
        <td><p>Block name of the copy.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Tables.TableObject.html">TableObject</a></td>
        <td><p>A new Block that is a copy of this instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="overrides">Overrides</h5>
  <div><a class="xref" href="netDxf.Tables.TableObject.html#netDxf_Tables_TableObject_Clone_System_String_">TableObject.Clone(String)</a></div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_Create_netDxf_DxfDocument_System_String_.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.Create(netDxf.DxfDocument%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L415">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_Create_" data-uid="netDxf.Blocks.Block.Create*"></a>
  <h4 id="netDxf_Blocks_Block_Create_netDxf_DxfDocument_System_String_" data-uid="netDxf.Blocks.Block.Create(netDxf.DxfDocument,System.String)">Create(DxfDocument, String)</h4>
  <div class="markdown level1 summary"><p>Creates a block from the content of a <a class="xref" href="netDxf.DxfDocument.html">DxfDocument</a>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Block Create(DxfDocument doc, string name)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.DxfDocument.html">DxfDocument</a></td>
        <td><span class="parametername">doc</span></td>
        <td><p>A <a class="xref" href="netDxf.DxfDocument.html">DxfDocument</a> instance.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td><p>Name of the new block.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Blocks.Block.html">Block</a></td>
        <td><p>The block build from the <a class="xref" href="netDxf.DxfDocument.html">DxfDocument</a> content.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Blocks_Block_Create_netDxf_DxfDocument_System_String__remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Only the entities contained in ModelSpace will make part of the block.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_Load_System_String_.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.Load(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L458">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_Load_" data-uid="netDxf.Blocks.Block.Load*"></a>
  <h4 id="netDxf_Blocks_Block_Load_System_String_" data-uid="netDxf.Blocks.Block.Load(System.String)">Load(String)</h4>
  <div class="markdown level1 summary"><p>Creates a block from an external DXF file.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Block Load(string file)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">file</span></td>
        <td><p>DXF file name.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Blocks.Block.html">Block</a></td>
        <td><p>The block build from the DXF file content. It will return null if the file has not been able to load.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Blocks_Block_Load_System_String__remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>The name of the block will be the file name without extension, and
only the entities contained in ModelSpace will make part of the block.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_Load_System_String_System_Collections_Generic_IEnumerable_System_String__.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.Load(System.String%2CSystem.Collections.Generic.IEnumerable%7BSystem.String%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L473">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_Load_" data-uid="netDxf.Blocks.Block.Load*"></a>
  <h4 id="netDxf_Blocks_Block_Load_System_String_System_Collections_Generic_IEnumerable_System_String__" data-uid="netDxf.Blocks.Block.Load(System.String,System.Collections.Generic.IEnumerable{System.String})">Load(String, IEnumerable&lt;String&gt;)</h4>
  <div class="markdown level1 summary"><p>Creates a block from an external DXF file.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Block Load(string file, IEnumerable&lt;string&gt; supportFolders)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">file</span></td>
        <td><p>DXF file name.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">System.String</span>&gt;</td>
        <td><span class="parametername">supportFolders</span></td>
        <td><p>List of the document support folders.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Blocks.Block.html">Block</a></td>
        <td><p>The block build from the DXF file content. It will return null if the file has not been able to load.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Blocks_Block_Load_System_String_System_Collections_Generic_IEnumerable_System_String___remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>The name of the block will be the file name without extension, and
only the entities contained in ModelSpace will make part of the block.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_Load_System_String_System_String_.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.Load(System.String%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L485">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_Load_" data-uid="netDxf.Blocks.Block.Load*"></a>
  <h4 id="netDxf_Blocks_Block_Load_System_String_System_String_" data-uid="netDxf.Blocks.Block.Load(System.String,System.String)">Load(String, String)</h4>
  <div class="markdown level1 summary"><p>Creates a block from an external DXF file.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Block Load(string file, string name)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">file</span></td>
        <td><p>DXF file name.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td><p>Name of the new block.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Blocks.Block.html">Block</a></td>
        <td><p>The block build from the DXF file content. It will return null if the file has not been able to load.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Blocks_Block_Load_System_String_System_String__remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Only the entities contained in ModelSpace will make part of the block.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_Load_System_String_System_String_System_Collections_Generic_IEnumerable_System_String__.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.Load(System.String%2CSystem.String%2CSystem.Collections.Generic.IEnumerable%7BSystem.String%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L498">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_Load_" data-uid="netDxf.Blocks.Block.Load*"></a>
  <h4 id="netDxf_Blocks_Block_Load_System_String_System_String_System_Collections_Generic_IEnumerable_System_String__" data-uid="netDxf.Blocks.Block.Load(System.String,System.String,System.Collections.Generic.IEnumerable{System.String})">Load(String, String, IEnumerable&lt;String&gt;)</h4>
  <div class="markdown level1 summary"><p>Creates a block from an external DXF file.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Block Load(string file, string name, IEnumerable&lt;string&gt; supportFolders)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">file</span></td>
        <td><p>DXF file name.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">name</span></td>
        <td><p>Name of the new block.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">System.String</span>&gt;</td>
        <td><span class="parametername">supportFolders</span></td>
        <td><p>List of the document support folders.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Blocks.Block.html">Block</a></td>
        <td><p>The block build from the DXF file content. It will return null if the file has not been able to load.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Blocks_Block_Load_System_String_System_String_System_Collections_Generic_IEnumerable_System_String___remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Only the entities contained in ModelSpace will make part of the block.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_OnAttributeDefinitionAddedEvent_netDxf_Entities_AttributeDefinition_.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.OnAttributeDefinitionAddedEvent(netDxf.Entities.AttributeDefinition)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L91">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_OnAttributeDefinitionAddedEvent_" data-uid="netDxf.Blocks.Block.OnAttributeDefinitionAddedEvent*"></a>
  <h4 id="netDxf_Blocks_Block_OnAttributeDefinitionAddedEvent_netDxf_Entities_AttributeDefinition_" data-uid="netDxf.Blocks.Block.OnAttributeDefinitionAddedEvent(netDxf.Entities.AttributeDefinition)">OnAttributeDefinitionAddedEvent(AttributeDefinition)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected virtual void OnAttributeDefinitionAddedEvent(AttributeDefinition item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Entities.AttributeDefinition.html">AttributeDefinition</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_OnAttributeDefinitionRemovedEvent_netDxf_Entities_AttributeDefinition_.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.OnAttributeDefinitionRemovedEvent(netDxf.Entities.AttributeDefinition)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L104">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_OnAttributeDefinitionRemovedEvent_" data-uid="netDxf.Blocks.Block.OnAttributeDefinitionRemovedEvent*"></a>
  <h4 id="netDxf_Blocks_Block_OnAttributeDefinitionRemovedEvent_netDxf_Entities_AttributeDefinition_" data-uid="netDxf.Blocks.Block.OnAttributeDefinitionRemovedEvent(netDxf.Entities.AttributeDefinition)">OnAttributeDefinitionRemovedEvent(AttributeDefinition)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected virtual void OnAttributeDefinitionRemovedEvent(AttributeDefinition item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Entities.AttributeDefinition.html">AttributeDefinition</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_OnEntityAddedEvent_netDxf_Entities_EntityObject_.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.OnEntityAddedEvent(netDxf.Entities.EntityObject)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L65">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_OnEntityAddedEvent_" data-uid="netDxf.Blocks.Block.OnEntityAddedEvent*"></a>
  <h4 id="netDxf_Blocks_Block_OnEntityAddedEvent_netDxf_Entities_EntityObject_" data-uid="netDxf.Blocks.Block.OnEntityAddedEvent(netDxf.Entities.EntityObject)">OnEntityAddedEvent(EntityObject)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected virtual void OnEntityAddedEvent(EntityObject item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_OnEntityRemovedEvent_netDxf_Entities_EntityObject_.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.OnEntityRemovedEvent(netDxf.Entities.EntityObject)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L78">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_OnEntityRemovedEvent_" data-uid="netDxf.Blocks.Block.OnEntityRemovedEvent*"></a>
  <h4 id="netDxf_Blocks_Block_OnEntityRemovedEvent_netDxf_Entities_EntityObject_" data-uid="netDxf.Blocks.Block.OnEntityRemovedEvent(netDxf.Entities.EntityObject)">OnEntityRemovedEvent(EntityObject)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected virtual void OnEntityRemovedEvent(EntityObject item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_OnLayerChangedEvent_netDxf_Tables_Layer_netDxf_Tables_Layer_.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.OnLayerChangedEvent(netDxf.Tables.Layer%2CnetDxf.Tables.Layer)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L49">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_OnLayerChangedEvent_" data-uid="netDxf.Blocks.Block.OnLayerChangedEvent*"></a>
  <h4 id="netDxf_Blocks_Block_OnLayerChangedEvent_netDxf_Tables_Layer_netDxf_Tables_Layer_" data-uid="netDxf.Blocks.Block.OnLayerChangedEvent(netDxf.Tables.Layer,netDxf.Tables.Layer)">OnLayerChangedEvent(Layer, Layer)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected virtual Layer OnLayerChangedEvent(Layer oldLayer, Layer newLayer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Tables.Layer.html">Layer</a></td>
        <td><span class="parametername">oldLayer</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="netDxf.Tables.Layer.html">Layer</a></td>
        <td><span class="parametername">newLayer</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Tables.Layer.html">Layer</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_Save_System_String_netDxf_Header_DxfVersion_.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.Save(System.String%2CnetDxf.Header.DxfVersion)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L524">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_Save_" data-uid="netDxf.Blocks.Block.Save*"></a>
  <h4 id="netDxf_Blocks_Block_Save_System_String_netDxf_Header_DxfVersion_" data-uid="netDxf.Blocks.Block.Save(System.String,netDxf.Header.DxfVersion)">Save(String, DxfVersion)</h4>
  <div class="markdown level1 summary"><p>Saves a block to a text DXF file.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool Save(string file, DxfVersion version)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">file</span></td>
        <td><p>DXF file name.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="netDxf.Header.DxfVersion.html">DxfVersion</a></td>
        <td><span class="parametername">version</span></td>
        <td><p>Version of the DXF database version.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>Return true if the file has been successfully save, false otherwise.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_Save_System_String_netDxf_Header_DxfVersion_System_Boolean_.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.Save(System.String%2CnetDxf.Header.DxfVersion%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L536">View Source</a>
  </span>
  <a id="netDxf_Blocks_Block_Save_" data-uid="netDxf.Blocks.Block.Save*"></a>
  <h4 id="netDxf_Blocks_Block_Save_System_String_netDxf_Header_DxfVersion_System_Boolean_" data-uid="netDxf.Blocks.Block.Save(System.String,netDxf.Header.DxfVersion,System.Boolean)">Save(String, DxfVersion, Boolean)</h4>
  <div class="markdown level1 summary"><p>Saves a block to a DXF file.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool Save(string file, DxfVersion version, bool isBinary)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">file</span></td>
        <td><p>DXF file name.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="netDxf.Header.DxfVersion.html">DxfVersion</a></td>
        <td><span class="parametername">version</span></td>
        <td><p>Version of the DXF database version.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">isBinary</span></td>
        <td><p>Defines if the file will be saved as binary.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>Return true if the file has been successfully save, false otherwise.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_AttributeDefinitionAdded.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.AttributeDefinitionAdded%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L89">View Source</a>
  </span>
  <h4 id="netDxf_Blocks_Block_AttributeDefinitionAdded" data-uid="netDxf.Blocks.Block.AttributeDefinitionAdded">AttributeDefinitionAdded</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event Block.AttributeDefinitionAddedEventHandler AttributeDefinitionAdded</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Blocks.Block.AttributeDefinitionAddedEventHandler.html">Block.AttributeDefinitionAddedEventHandler</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_AttributeDefinitionRemoved.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.AttributeDefinitionRemoved%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L102">View Source</a>
  </span>
  <h4 id="netDxf_Blocks_Block_AttributeDefinitionRemoved" data-uid="netDxf.Blocks.Block.AttributeDefinitionRemoved">AttributeDefinitionRemoved</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event Block.AttributeDefinitionRemovedEventHandler AttributeDefinitionRemoved</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Blocks.Block.AttributeDefinitionRemovedEventHandler.html">Block.AttributeDefinitionRemovedEventHandler</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_EntityAdded.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.EntityAdded%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L63">View Source</a>
  </span>
  <h4 id="netDxf_Blocks_Block_EntityAdded" data-uid="netDxf.Blocks.Block.EntityAdded">EntityAdded</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event Block.EntityAddedEventHandler EntityAdded</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Blocks.Block.EntityAddedEventHandler.html">Block.EntityAddedEventHandler</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_EntityRemoved.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.EntityRemoved%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L76">View Source</a>
  </span>
  <h4 id="netDxf_Blocks_Block_EntityRemoved" data-uid="netDxf.Blocks.Block.EntityRemoved">EntityRemoved</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event Block.EntityRemovedEventHandler EntityRemoved</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Blocks.Block.EntityRemovedEventHandler.html">Block.EntityRemovedEventHandler</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block_LayerChanged.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block.LayerChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L47">View Source</a>
  </span>
  <h4 id="netDxf_Blocks_Block_LayerChanged" data-uid="netDxf.Blocks.Block.LayerChanged">LayerChanged</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event Block.LayerChangedEventHandler LayerChanged</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Blocks.Block.LayerChangedEventHandler.html">Block.LayerChangedEventHandler</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="implements">Implements</h3>
  <div>
      <a class="xref" href="netDxf.IHasXData.html">IHasXData</a>
  </div>
  <div>
      <span class="xref">System.ICloneable</span>
  </div>
  <div>
      <span class="xref">System.IComparable</span>
  </div>
  <div>
      <span class="xref">System.IComparable&lt;T&gt;</span>
  </div>
  <div>
      <span class="xref">System.IEquatable&lt;T&gt;</span>
  </div>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Blocks_Block.md&amp;value=---%0Auid%3A%20netDxf.Blocks.Block%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Blocks/Block.cs/#L40" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>In This Article</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
